package com.hb.trade.api.push.util;

import com.hb.trade.api.push.task.tenderbulletinphase.TenderBulletinPhase;
import com.hb.trade.api.push.task.tenderprojectphase.TenderProjectPhase;
import lombok.Getter;

/**
 * describe:
 *  推送的枚举
 * @author zhongdl
 * @date 2022/02/21
 */
@Getter
public enum PushTypeEnum {

    TENDER_PROJECT_PHASE(1,"招标项目阶段", TenderProjectPhase.class),
    TENDER_BULLETIN_PHASE( 2,"招标公告", TenderBulletinPhase.class),
    QUALIFY_BULLETIN_PHASE(3,"资格预审公告", TenderProjectPhase.class),
    WIN_CANDIDATE_BULLETIN_PHASE(4,"中标候选人公示", TenderProjectPhase.class),
    WIN_BID_BULLETIN_PHASE(5,"招标结果公示阶段", TenderProjectPhase.class);

    private final int code;
    private final String name;
    private final Class<?> targetClass;

    PushTypeEnum(int code, String name, Class<?> targetClass) {
        this.code = code;
        this.name = name;
        this.targetClass = targetClass;
    }
}
